home *** CD-ROM | disk | FTP | other *** search
/ Paparazzi!: Tales of Tinseltown / Paparazzi - Tales of Tinseltown (1995)(Activision)(Disc 1 of 2).iso / pprazia2.dir / 00885_Script_Griz Payoff exit < prev    next >
Text File  |  1995-05-21  |  838b  |  34 lines

  1. on exitFrame
  2.   global length, OuchOrNot, snap1, snap2, theMovieName, gTheDay, GrizBust
  3.   if the movieTime of sprite 48 > length then
  4.     put the movietime of sprite 48 into OuchOrNot
  5.     repeat with d = 9 to 10
  6.       puppetsprite d, false
  7.     end repeat
  8.     puppetsprite 48, false
  9.     set the movierate of sprite 48 = 0
  10.     set the movietime of sprite 48 = 0
  11.     set the sound of cast theMovieName to 0
  12.     updatestage
  13.     if OuchOrNot >= 1520 then
  14.       updateStage
  15.       set GrizBust = "x"
  16.       puppetsound 0
  17.       go frame "GrizPunchout"
  18.       exit
  19.     end if
  20.     if snap1 <> 0 then
  21.       updateStage
  22.       puppetsound 0
  23.       go frame "Darkroom"
  24.       exit
  25.     else
  26.       updateStage
  27.       puppetsound 0
  28.       go frame gtheday & "NoShots"
  29.       exit
  30.     end if
  31.   else
  32.     go to the frame
  33.   end if
  34. end